﻿using System.Web.Optimization;

namespace ICat.Inventory
{
    public class BundleConfig
    {
        public static void RegisterBundles(BundleCollection bundles)
        {
            #region JavaScripts

            bundles.Add(new ScriptBundle("~/js/modernizr").Include(
                "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/js").Include(
                "~/Scripts/jquery-{version}.js",
                "~/Scripts/jquery.validate*",
                "~/Scripts/jquery-ui-{version}.js",
                "~/Scripts/bootstrap.js"));

            #endregion

            #region Styles

            bundles.Add(new StyleBundle("~/css")
                .Include("~/Content/bootstrap.css")
                .Include("~/Content/font-awesome.css")
                .Include("~/Content/Site.css")
                .Include("~/Content/style.css")
                .Include("~/Content/style-responsive.css")
                );

            #endregion

        }
    }
}